package com.university.mentalhealthplatform.teacherV2.repository;

import com.university.mentalhealthplatform.appModels.Teacher;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.UUID;

@Repository
public interface TeacherRepositoryV2 extends JpaRepository<Teacher, UUID> {
    Teacher findByUsername(String username);
}